package org.zfes.snowier.cloud.zbss.pmp.dto;
import java.io.Serializable;
import java.util.Date;

public class PmpProjectVersionCreateDto implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public PmpProjectVersionCreateDto() {}

	private Long id;
	
	@javax.validation.constraints.NotNull(message="所属项目不能为空")
	  private java.lang.Long projectId;
	@javax.validation.constraints.NotBlank(message="版本名不能为空")
	@javax.validation.constraints.NotNull(message="版本名不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="版本名长度不能大于20")
	  private java.lang.String version;
 
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="备注长度不能大于255")
	  private java.lang.String remark;
	  private java.lang.Byte useThis;
	  private java.lang.Byte status;
	  private Date  publishTime;
	//<-------------------------------------------->
	public PmpProjectVersionCreateDto setProjectId(java.lang.Long projectId){
	 this.projectId=projectId;
	 return this;
	}
	public java.lang.Long getProjectId(){
		return this.projectId;
	}
	public PmpProjectVersionCreateDto setVersion(java.lang.String version){
		this.version=version==null?null:version.trim();
	 return this;
	}
	public java.lang.String getVersion(){
		return this.version;
	}

	public PmpProjectVersionCreateDto setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public java.lang.Byte getUseThis() {
		return useThis;
	}
	public void setUseThis(java.lang.Byte useThis) {
		this.useThis = useThis;
	}
	public Date getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public java.lang.Byte getStatus() {
		return status;
	}
	public void setStatus(java.lang.Byte status) {
		this.status = status;
	}

}
